﻿using System;
using System.ComponentModel.DataAnnotations.Schema;
using Volo.Abp.Domain.Entities;

namespace Demo.OrderService.Entities
{
    /// <summary>
    /// 订单收货地址
    /// </summary>
    [Table("shop_order_logistics")]
    public class ShopOrderLogistics : Entity<Guid>
    {
        /// <summary>
        /// 物流Id
        /// </summary>
        public int Logistics_Id { get; set; }
        /// <summary>
        /// 订单Id
        /// </summary>
        public int Order_Id { get; set; }
        /// <summary>
        /// 物流名称
        /// </summary>
        public string LogisticsName { get; set; }
        /// <summary>
        /// 物流单号
        /// </summary>
        public string LogisticsNumber { get; set; }
        /// <summary>
        /// 物流查询地址
        /// </summary>
        public string LogisticsCompanyUrl { get; set; }
        /// <summary>
        /// 运输方式
        /// </summary>
        public string TransportationMethod { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        public string Contacts { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string ContactPhone { get; set; }
        /// <summary>
        /// 派送人
        /// </summary>
        public string DeliveryUser { get; set; }
        /// <summary>
        /// 派送人联系电话
        /// </summary>
        public string DeliveryPhone { get; set; }
        /// <summary>
        /// 派送时间
        /// </summary>
        public DateTime? DeliveryTime { get; set; }
        /// <summary>
        /// 预计耗时天数
        /// </summary>
        public int DeliveryDay { get; set; }

    }
}
